<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xdm</Name>
        <Homepage>http://www.x.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <Icon>xorg</Icon>
        <IsA>app:gui</IsA>
        <Summary>X Display Manager</Summary>
        <Description>X Display Manager provides a login screen, session management, and support for XDMCP.</Description>
        <Archive sha1sum="8195a8e17d71d18cb89813d04b69a3750e9e818e" type="tarbz2">mirrors://xorg/individual/app/xdm-1.1.11.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXaw-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libXpm-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>util-macros</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>xtrans</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>libbsd-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">xsession.patch</Patch>
            <Patch level="1">no-xconsole.patch</Patch>
            <Patch level="1">resources.patch</Patch>
            <Patch level="1">xdm-1.1.11-arc4random-include.patch</Patch>
            <Patch level="1">xdm-1.1.11-cve-2013-2179.patch</Patch>
            <Patch level="1">xdm-1.1.11-setproctitle-include.patch</Patch>
            <Patch level="1">xdm-consolekit.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xdm</Name>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXau</Dependency>
            <Dependency>libXdmcp</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libbsd</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>libXpm</Dependency>
            <Dependency>libXaw</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>xinit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/X11/xdm</Path>
            <Path fileType="data">/usr/share/X11</Path>
            <Path fileType="data">/usr/share/display-managers</Path>
            <Path fileType="data">/var/lib/xdm</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <!--<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/xdm">xdm.conf.d</AdditionalFile>-->
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/xdm">xdm.pam.d</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/start-dm">start-dm.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/display-managers/xdm.desktop">xdm.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/X11/xorg-safe-fbdev.conf">xorg-safe-fbdev.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/X11/xorg-safe-vesa.conf">xorg-safe-vesa.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-03-09</Date>
            <Version>1.1.11</Version>
            <Comment>First release.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
